import React, { useState } from 'react'
import Tabs from '@/components/Tabs'
import { View, Input } from '@tarojs/components';
import Tabbar from '@/components/Tabbar'
import OrganizationEmpty from "@/components/OrganizationEmpty";
import './index.scss'
const Students = (props) => {
    const [active, setActive] = useState('0')
    const list = [{
        label: '直播好课',
        value: '0'
    }, {
        label: '网授好课',
        value: '1'
    },]
    return <OrganizationEmpty title='请先选择机构再查看学习'>
        <View className='Students_info'>
            <View className='Students_Box'>
                <View className='Students_tabs'>
                    <View className='Students_tabs_tag'>
                        <View className='Students_tabs_tagsCheck'>免费好课</View>
                        <View className='Students_tabs_tagsNoCheck'>
                            升本图书
                        </View>
                    </View>
                </View>
                <View className='Students_Select'>
                    <Tabs classname='Students_top' onChange={(e) => {
                        setActive(e)
                    }} active={active} list={list}></Tabs>
                </View>
                <View className='Students_search_box'>
                    <View className='Students_search_inputBox'>
                        <View className='Students_search_icon'>

                        </View>
                        <Input placeholder='请输入课程名称' className='Students_search_input'>

                        </Input>
                        <View className='Students_search_liner'>

                        </View>
                        <View className='Students_search_btn'>
                            搜索
                        </View>
                    </View>

                </View>
                <View className='Students_qh'>
                    <View className='Students_tags_box'>
                        <View className='Students_tags Students_tags1'>全部</View>
                        <View className='Students_tags'>专升本</View>
                        <View className='Students_tags'>职业技能</View>
                        <View className='Students_tags'>留学</View>
                        <View className='Students_tags'>其他</View>
                    </View>
                    <View className='Students_search_handle Students_search_Style1'>

                    </View>
                </View>

            </View>
            <View className='Students_card_height'>
                <View className='Students_card_box'>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'>
                            <View className='Students_card_remain'></View>
                        </View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'></View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'></View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'></View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'></View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'></View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'></View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'></View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'></View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                    <View className='Students_card_item'>
                        <View className='Students_card_profile'></View>
                        <View className='Students_card_content'>
                            <View className='Students_card_name'>
                                【讲义】大学语文基础篇（21篇）
                            </View>
                            <View className='Students_card_price'>
                                <View className='Students_card_left'>0</View>
                                <View className='Students_card_right Students_card_rightStyle1'>
                                    免费领取
                                </View>
                            </View>
                        </View>
                    </View>
                </View>
            </View>

        </View>
    </OrganizationEmpty>
}
export default Students